home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: uu4news.netcom.com!friend!news
- From: rich@kastle.com (Richard Krehbiel)
- Subject: Re: sscanf bug??????
- Message-ID: <1996Feb15.122738.7811@friend.kastle.com>
- Sender: news@friend.kastle.com (News)
- Reply-To: rich@kastle.com
- Organization: Kastle Development Associates
- X-Newsreader: Forte Free Agent 1.0.82
- References: <4fimvo$82s@fnord.dfw.net> <4frr9j$ie8@fnord.dfw.net> <4ftdnq$b0c@sun001.spd.dsccc.com>
- Date: Thu, 15 Feb 1996 12:28:24 GMT
-
- jmccarty@spd.dsccc.com (Mike McCarty) wrote:
-
- >In any case, 013196 (octal) is 718 decimal. 718 decimal mod 256 is 206.
- >I don't see anything reasonable it could be the mod of that would
- >result in 89. So even if it is an "undocumented feature" or non-ANSI
- >extension, I don't think it is working properly.
-
- 013196 is not valid octal; it's got a 9 in it. :-) The conversion
- probably stops at the 9, giving 131 octal = 89 decimal.
-
- --
- Richard Krehbiel, Kastle Systems, Arlington VA USA
- rich@kastle.com (work) or richk@mnsinc.com (personal)
-
-